﻿using System;
namespace MVCFramework
{
    public interface IModelExplicit
    {
        void AttachEventHandlerToData(object  _attribute, EventHandler EventHandler);
        void DettachEventHandlerToData(object _attribute, EventHandler EventHandler);
        T GetObject<T>(object name);
        void SetObject(object name, object _object);
        void SetObject(object name, object _object ,bool addToData);
        object this[object Name] { get;set;}
    }
}
